<extend name="../application/admin/view/common/base.html" />
<block name="body">
    <div class="layui-row">
        <form class="layui-form layui-col-md12 x-so">
            <input class="layui-input" placeholder="开始时间" name="beginTime" id="start" value="{$beginTime|default=''}" readonly>
            <input class="layui-input" placeholder="截止时间" name="endTime" id="end" value="{$endTime|default=''}" readonly>
            <button class="layui-btn"  lay-submit="" lay-filter="sreach"><i class="layui-icon">&#xe615;</i></button>
            <button class="layui-btn layui-btn-primary" type="button" onclick="window.location.href='?'"><i class="iconfont">&#xe631;</i></button>
        </form>
    </div>
    <xblock>
        <span class="x-right" style="line-height:40px">共有数据：{$count} 条</span>
    </xblock>
    <table class="layui-table">
        <thead>
        <tr>
            <th>ID</th>
            <th>用户手机号</th>
            <th>注册时间</th>
        </thead>
        <tbody>
        <foreach name="list" item="vo">
            <tr>
                <td>{$vo.id}</td>
                <td>{$vo.mobile}</td>
                <td>{$vo.time}</td>
            </tr>
        </foreach>
        </tbody>
    </table>
    <div class="page">
        {$page|raw}
    </div>
</block>

<block name="bottom">
    <script type="text/javascript" src="/static/lib/ToolTip/ToolTip.js"></script>
    <script type="text/javascript">
        layui.use('laydate', function(){
            var laydate = layui.laydate;

            //执行一个laydate实例
            laydate.render({
                elem: '#start' //指定元素
            });

            //执行一个laydate实例
            laydate.render({
                elem: '#end' //指定元素
            });
        });
    </script>
</block>